﻿
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using WebSilverlight.Web.Resources;
using DeklaritModel;

namespace WebSilverlight.Web
{   
    public partial class ClienteWrapper
    {
		[Key]
		[Bindable(false)]
		[Display(Name = "Cliente", ShortName = "Cliente", Description = "Cliente" , AutoGenerateField = false)] 				
		public Int16 ClienteId { get; set; }				
		
		[StringLength(20)]
		[Display(Name = "Cliente", ShortName = "Cliente", Description = "Cliente" , Order = 2)] 				
		public string ClienteName { get; set; }				
		
		[Display(Name = "Sexo", ShortName = "Sexo", Description = "Sexo" , Order = 3)] 				
		public Int16 ClienteGender { get; set; }				
		
		[Display(Name = "Edad", ShortName = "Edad", Description = "Edad" , Order = 4)] 				
		public Int16 ClienteAge { get; set; }				
		
		[Display(Name = "Birthday", ShortName = "Birthday", Description = "Birthday" , Order = 5)] 				
		public DateTime ClienteBirthday { get; set; }				
		
		[Display(Name = "Is Active?", ShortName = "Is Active?", Description = "Is Active?" , Order = 6)] 				
		public bool ClienteIsActive { get; set; }				
		
		[Display(Name = "Id Pais", ShortName = "Id Pais", Description = "Id Pais" , Order = 7)] 				
		public Int16 PaisId { get; set; }				
		
		[StringLength(20)]
		[Bindable(true, BindingDirection.OneWay)]
		[Display(Name = "Nombre", ShortName = "Nombre", Description = "Nombre" , Order = 8)] 				
		public string PaisNombre { get; set; }				
		
		[Display(Name = "Picture", ShortName = "Picture", Description = "Picture" , Order = 9)] 				
		public Byte[] ClientePicture { get; set; }				
		
    }
}